<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Extensions</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration51.oop.html">Class and object changes</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration51.datetime.html">Date/time support</a></div>
 <div class="up"><a href="migration51.html">Migrating from PHP 5.0.x to PHP 5.1.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="migration51.extensions" class="section">
  <h2 class="title">Extensions</h2>
  <ul class="itemizedlist">
   <li class="listitem">
    <p class="para">
     <a href="migration51.extensions.html#migration51.extensions-gone" class="link">Extensions that are gone
      from the PHP core</a>
    </p>
   </li>
   <li class="listitem">
    <p class="para">
     <a href="migration51.extensions.html#migration51.extensions-constants" class="link">Class constants in new
      PHP 5.1.x extensions</a>
    </p>
   </li>
  </ul>

  <div class="section" id="migration51.extensions-gone">
   <h2 class="title">Extensions that are gone from the PHP core</h2>
   <p class="para">
    One of the first things you&#039;re likely to notice when you download PHP 5.1.x
    is that several of the older extensions have disappeared. Those extensions
    that are still actively maintained are available in the PHP Extension
    Community Library (PECL), at
    <a href="http://pecl.php.net/" class="link external">&raquo;&nbsp;http://pecl.php.net/</a>.
   </p>
   <table class="doctable table">
    <caption><strong>Removed extensions</strong></caption>
    
     <thead>
      <tr>
       <th>Extension</th>
       <th>Alternative/Status</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>ext/cpdf</td>
       <td><a href="ref.pdf.html" class="link">pecl/pdflib</a></td>
      </tr>

      <tr>
       <td><a href="ref.dbx.html" class="link">ext/dbx</a></td>
       <td>pecl/dbx</td>
      </tr>

      <tr>
       <td><a href="ref.dio.html" class="link">ext/dio</a></td>
       <td>pecl/dio</td>
      </tr>

      <tr>
       <td><a href="ref.fam.html" class="link">ext/fam</a></td>
       <td>Not actively maintained</td>
      </tr>

      <tr>
       <td><a href="ref.ingres.html" class="link">ext/ingres_ii</a></td>
       <td>pecl/ingres</td>
      </tr>

      <tr>
       <td>ext/ircg</td>
       <td>Not actively maintained</td>
      </tr>

      <tr>
       <td><a href="ref.mcve.html" class="link">ext/mcve</a></td>
       <td>pecl/mcve</td>
      </tr>

      <tr>
       <td><a href="ref.mnogosearch.html" class="link">ext/mnogosearch</a></td>
       <td>Not actively maintained</td>
      </tr>

      <tr>
       <td>ext/oracle</td>
       <td>
        <a href="ref.oci8.html" class="link">ext/oci8</a> or
        <a href="ref.pdo-oci.html" class="link">ext/pdo_oci</a>
       </td>
      </tr>

      <tr>
       <td><a href="ref.ovrimos.html" class="link">ext/ovrimos</a></td>
       <td>Not actively maintained</td>
      </tr>

      <tr>
       <td>ext/pfpro</td>
       <td>Not actively maintained</td>
      </tr>

      <tr>
       <td><a href="ref.w32api.html" class="link">ext/w32api</a></td>
       <td><a href="http://pecl.php.net/package/ffi" class="link external">&raquo;&nbsp;pecl/ffi</a></td>
      </tr>

      <tr>
       <td><a href="ref.nis.html" class="link">ext/yp</a></td>
       <td>Not actively maintained</td>
      </tr>

      <tr>
       <td>ext/activescript</td>
       <td>
        <a href="http://pecl.php.net/package/activescript" class="link external">&raquo;&nbsp;pecl/activescript</a>
       </td>
      </tr>

     </tbody>
    
   </table>

   <p class="para">
    Modules in PECL that are not actively maintained (i.e. have not been
    supported for some time, have no active maintainer working on them
    currently, and do not have any PECL package releases), are still available
    in SVN at <a href="http://svn.php.net/viewvc/pecl" class="link external">&raquo;&nbsp;http://svn.php.net/viewvc/pecl</a>.
    However, unreleased PHP modules are by their nature unsupported, and your
    mileage may vary when attempting to install or use them.
   </p>
  </div>

  <div class="section" id="migration51.extensions-constants">
   <h2 class="title">Class constants in new PHP 5.1.x extensions</h2>
   <p class="para">
    The Zend Engine 2.1 API allows extension developers to declare class
    constants in object oriented extensions. New extensions written for PHP
    5.1.x, including <a href="ref.spl.html" class="link">SPL</a>,
    <a href="intro.pdo.html" class="link">PDO</a>,
    <a href="book.xmlreader.html" class="link">XMLReader</a> and
    <a href="ref.datetime.html" class="link">date</a>, have their constants in
    the format <strong><code>PDO::CLASS_CONSTANT</code></strong> rather than in the C
    format <strong><code>PDO_CLASS_CONSTANT</code></strong> in order to minimise
    pollution of the global namespace in PHP.
   </p>
  </div>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration51.oop.html">Class and object changes</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration51.datetime.html">Date/time support</a></div>
 <div class="up"><a href="migration51.html">Migrating from PHP 5.0.x to PHP 5.1.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
